﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ivy.Common.Framework.Base;
using System.Runtime.Serialization;

namespace Ivy.FeedbackModule.Entity
{
    [Serializable]
    [DataContract]
    public class FeedbackUser : DataEntityBase
    {
        #region Variable & Constant

        private Int32 lFeedbackUserKey = -1;
        private string lFeedbackUserName = string.Empty;
        private string lFeedbackUserEmail = string.Empty;
        private Int32 lRegisteredUserkey = -1;

        #endregion Variable & Constant

        #region Constructor & Destructor
        public FeedbackUser()
            : base()
        {
            this.Sys_DeleteType = DeleteType.SoftDeleteOnly;
        }
        #endregion Constructor & Destructor

        #region Public Properties
        [DataMember]
        public Int32 FeedbackUserKey
        {
            get { return lFeedbackUserKey; }
            set { lFeedbackUserKey = value; base.SetEntityStateChangeAttribute(); }
        }
        [DataMember]
        public string FeedbackUserName
        {
            get { return lFeedbackUserName; }
            set { lFeedbackUserName = value; base.SetEntityStateChangeAttribute(); }
        }
        [DataMember]
        public string FeedbackUserEmail
        {
            get { return lFeedbackUserEmail; }
            set { lFeedbackUserEmail = value; base.SetEntityStateChangeAttribute(); }
        }
        [DataMember]
        public Int32 RegisteredUserkey
        {
            get { return lRegisteredUserkey; }
            set { lRegisteredUserkey = value; base.SetEntityStateChangeAttribute(); }
        }
        #endregion  Public Properties

        #region Public Methods

        #endregion Public Methods

        #region Events

        #endregion Events

        #region Private Methods

        #endregion Private Methods
    }
}
